package com.bosssoft.hr.train.spring.example.dao;


import com.bosssoft.hr.train.spring.example.bean.User;

import java.util.List;

public interface UserDao {
    int remove(Long id);
    int save(User user);
    int update(User user);
    List<User> query();
    User queryUserByName(String username);
}
